Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Fritz Asawelyikle 16.May.03 03:12 PM a Web browser
Toolkits All Releases Windows NT


Hello I have done some work for the C++ API and I get the error message "File Does Not Exist" when trying to send emails. "Save()" works but "Send()" OR "SendTo()" do not...
Below is a snippet for more details. Any assistance is appreciated.

LNSetThrowAllErrors(TRUE);
LNNotesSession Session;
LNMailMessage mail;
LNItem bodyitem;
try
{
if(Session.Init())
MessageBox(NULL,"Unable to initialize session.","Error",MB_OK);
Session.CreateMailMessage(&mail);
mail.SetRecipients("someone@someone.ca");
mail.SetDeliveryPriority(LNDELIVERYPRIORITY_NORMAL);
mail.SetMailImportance(LNMAILIMPORTANCE_NORMAL);
mail.SetDeliveryReport(LNDELIVERYREPORT_ON_FAILURE);
mail.SetSubject("Subject");
mail.SetCC("somebody@someplace.ca");
LNRichText body;
if(mail.GetBody(&body))
MessageBox(NULL,"No body","ERROR",MB_OK);
else
body.SetValue("Hello This is successful.");
mail.Send();
//mail.Save();






"File Does Not Exist", C++ API (~Fritz Asawelyi... 16.May.03)
. . RE: "File Does Not Exist", C++ API (~Tanita Lopnuma... 16.May.03)
. . . . RE: "File Does Not Exist", C++ API (~Fritz Asawelyi... 20.May.03)
. . . . . . RE: "File Does Not Exist", C++ API (~Tanita Lopnuma... 20.May.03)
. . . . . . . . RE: "File Does Not Exist", C++ API (~Fritz Asawelyi... 20.May.03)
. . . . RE: "File Does Not Exist", C++ API (~Fritz Asawelyi... 22.May.03)
. . . . . . RE: "File Does Not Exist", C++ API (~Tanita Lopnuma... 22.May.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS